package com.levi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.levi.domain.Permission;

import java.util.List;

/**
 * @author shentong
 * @date 2021/10/27 21:22
 * @Description TODO
 */
public interface PermissionService extends IService<Permission> {
    /**
     * 根据用户名获取用户的权限列表
     * @param username
     * @return
     */
    List<Permission> getPermissionListByUsername(String username);
}
